import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/pms/pmsSku/list',
method: 'get',
params: params
})
}
export function createPmsSku(data) {
return request({
url: '/pms/pmsSku/create',
method: 'post',
data: data
})
}

export function deletePmsSku(id) {
return request({
url: '/pms/pmsSku/delete/' + id,
method: 'get',
})
}

export function getPmsSku(id) {
return request({
url: '/pms/pmsSku/' + id,
method: 'get',
})
}

export function updatePmsSku(id, data) {
return request({
url: '/pms/pmsSku/update/' + id,
method: 'post',
data: data
})
}

